<?php
include_once("../module/checkA.php");
include_once("../../config.php"); 
$plate=select_one_line_all_items($table_Prefix."plate","mid = 'finance'");
?>


<?
//用来判断当前系统属于什么板块
$system_part = $plate['mid'];
include_once("detail-list-function.php"); 
?>
  






<?php

$_REQUEST['ip']             = $_SERVER["REMOTE_ADDR"];
$_REQUEST['ai_authur']=$_SESSION['nid'];

//传递过来的页面信息。返回的时候，会根据这些信息返回原来的页面
$nowpageid      = addslashes($_REQUEST['nowpageid']);
$sortby         = addslashes($_REQUEST['sortby']);
$term_nid       = addslashes($_REQUEST['term_nid']);


//设置需要搜索的表格的前缀后缀
$table_suffix = $plate['table_suffix'];
$table = $table_Prefix . $table_suffix;
//设置需要搜索的表格的前缀后缀


$sql=insert_date($table,$_REQUEST);

$query = mysql_query($sql) or die ("error:".mysql_error());

mysql_close($con);


 
?>





<script type="text/javascript">
   // alert("输入信息已保存，点击确认返回继续操作.");
    window.parent.location.reload();//刷新父页面
    //window.parent.layer.closeAll();//关闭弹窗
</script>
 